package com.example.administrator.waitan.find.read;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.example.administrator.waitan.R;
import com.example.administrator.waitan.base.BaseActivity;

/**
 * Created by Administrator on 2016/1/22.
 */
public class ReadAuthorActivity extends BaseActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_read_author);
        Intent intent = getIntent();
        String author = intent.getStringExtra("author");
        String career = intent.getStringExtra("career");
        String review = intent.getStringExtra("review");
//        View readAuthorView = LayoutInflater.from(context).inflate(R.layout.activity_read_author,null);
        TextView reviewTV = (TextView)findViewById(R.id.tv_read_review);
        TextView careerTV = (TextView) findViewById(R.id.tv_read_career);
        TextView authorsTV = (TextView)findViewById(R.id.tv_read_author1);
        authorsTV.setText(author);
        careerTV.setText(career);
        reviewTV.setText(review);
    }
}
